/*
 *  Copyright (c) 2016 The WebRTC project authors. All Rights Reserved.
 *
 *  Use of this source code is governed by a BSD-style license
 *  that can be found in the LICENSE file in the root of the source
 *  tree. An additional intellectual property rights grant can be found
 *  in the file PATENTS.  All contributing project authors may
 *  be found in the AUTHORS file in the root of the source tree.
 */

#ifndef API_VIDEO_VIDEO_RENDER_MANAGER_INTERFACE_H_
#define API_VIDEO_VIDEO_RENDER_MANAGER_INTERFACE_H_

#include "api/video/video_render_interface.h"

namespace webrtc {
class RTC_EXPORT VideoRenderManager {
 public:
  static VideoRenderManager* GetInstance();
  virtual std::shared_ptr<VideoRenderInterface> CreateRender(const std::string& id) = 0;
  virtual std::shared_ptr<VideoRenderInterface> GetRender(const std::string& id) = 0;
  virtual void DisposeRender(const std::string& id) = 0;
};

}  // namespace webrtc

#endif  // API_VIDEO_VIDEO_RENDER_INTERFACE_H_
